<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="http://cloud-composer.com/" />
<title>CC_UI_Test2</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">CC_UI_Test2</td></tr>
</thead><tbody>
<tr>
	<td>open</td>
	<td>http://cloud-composer.com/Main.html</td>
	<td></td>
</tr>
<!--/////////////////////-->
<!--//   ADDING TEST   ///-->
<!--/////////////////////-->
<!--//add a piano note-->
<tr>
	<td>click</td>
	<td>piano</td>
	<td></td>
</tr>
<tr>
	<td>mouseDown</td>
	<td>//div[@id='column0']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>mouseOver</td>
	<td>//div[@id='column0']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>mouseUp</td>
	<td>//div[@id='column0']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>assertElementPresent</td>
	<td>//div[@id='grid']/div[@id='inner_grid']/div/div/div/div[@style='background-image: url(&quot;images/thumbnail_piano.png&quot;);']</td>
	<td></td>
</tr>
<!--//add a guitar note-->
<tr>
	<td>click</td>
	<td>guitar</td>
	<td></td>
</tr>
<tr>
	<td>mouseDown</td>
	<td>//div[@id='column1']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>mouseOver</td>
	<td>//div[@id='column1']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>mouseUp</td>
	<td>//div[@id='column1']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>assertElementPresent</td>
	<td>//div[@id='column1']/div/div[@style='background-image: url(&quot;images/thumbnail_guitar.png&quot;);']</td>
	<td></td>
</tr>
<!--//add a drum note-->
<tr>
	<td>click</td>
	<td>drum</td>
	<td></td>
</tr>
<tr>
	<td>mouseDown</td>
	<td>//div[@id='column2']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>mouseOver</td>
	<td>//div[@id='column2']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>mouseUp</td>
	<td>//div[@id='column2']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>assertElementPresent</td>
	<td>//div[@id='column2']/div/div[@style='background-image: url(&quot;images/thumbnail_drum.png&quot;);']</td>
	<td></td>
</tr>
<!--// add a trumpet note-->
<tr>
	<td>click</td>
	<td>trumpet</td>
	<td></td>
</tr>
<tr>
	<td>mouseDown</td>
	<td>//div[@id='column3']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>mouseOver</td>
	<td>//div[@id='column3']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>mouseUp</td>
	<td>//div[@id='column3']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>assertElementPresent</td>
	<td>//div[@id='column3']/div/div[@style='background-image: url(&quot;images/thumbnail_trumpet.png&quot;);']</td>
	<td></td>
</tr>
<!--// add a violin note-->
<tr>
	<td>click</td>
	<td>violin</td>
	<td></td>
</tr>
<tr>
	<td>mouseDown</td>
	<td>//div[@id='column4']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>mouseOver</td>
	<td>//div[@id='column4']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>mouseUp</td>
	<td>//div[@id='column4']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>assertElementPresent</td>
	<td>//div[@id='column4']/div/div[@style='background-image: url(&quot;images/thumbnail_violin.png&quot;);']</td>
	<td></td>
</tr>
<!--/////////////////////-->
<!--// REMOVING TEST ///-->
<!--/////////////////////-->
<!--// remove a piano note-->
<tr>
	<td>click</td>
	<td>piano</td>
	<td></td>
</tr>
<tr>
	<td>mouseDown</td>
	<td>//div[@id='column0']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>mouseUp</td>
	<td>//div[@id='column0']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>assertElementNotPresent</td>
	<td>//div[@id='grid']/div[@id='inner_grid']/div/div/div/div[@style='background-image: url(&quot;images/thumbnail_piano.png&quot;);']</td>
	<td></td>
</tr>
<!--// remove a guitar note-->
<tr>
	<td>click</td>
	<td>guitar</td>
	<td></td>
</tr>
<tr>
	<td>mouseDown</td>
	<td>//div[@id='column1']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>mouseUp</td>
	<td>//div[@id='column1']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>assertElementNotPresent</td>
	<td>//div[@id='column1']/div/div[@style='background-image: url(&quot;images/thumbnail_guitar.png&quot;);']</td>
	<td></td>
</tr>
<!--// remove a drum note-->
<tr>
	<td>click</td>
	<td>drum</td>
	<td></td>
</tr>
<tr>
	<td>mouseDown</td>
	<td>//div[@id='column2']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>mouseUp</td>
	<td>//div[@id='column2']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>assertElementNotPresent</td>
	<td>//div[@id='column2']/div/div[@style='background-image: url(&quot;images/thumbnail_drum.png&quot;);']</td>
	<td></td>
</tr>
<!--// remove a trumpet note-->
<tr>
	<td>click</td>
	<td>trumpet</td>
	<td></td>
</tr>
<tr>
	<td>mouseDown</td>
	<td>//div[@id='column3']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>mouseUp</td>
	<td>//div[@id='column3']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>assertElementNotPresent</td>
	<td>//div[@id='column3']/div/div[@style='background-image: url(&quot;images/thumbnail_trumpet.png&quot;);']</td>
	<td></td>
</tr>
<!--// remove a violin note-->
<tr>
	<td>click</td>
	<td>violin</td>
	<td></td>
</tr>
<tr>
	<td>mouseDown</td>
	<td>//div[@id='column4']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>mouseUp</td>
	<td>//div[@id='column4']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>assertElementNotPresent</td>
	<td>//div[@id='column4']/div/div[@style='background-image: url(&quot;images/thumbnail_violin.png&quot;);']</td>
	<td></td>
</tr>
<!--////////////////////////////////////////-->
<!--// Adding Multiple Notes on one Square //-->
<!--////////////////////////////////////////-->
<!--//add a piano note-->
<tr>
	<td>click</td>
	<td>piano</td>
	<td></td>
</tr>
<tr>
	<td>mouseDown</td>
	<td>//div[@id='column0']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>mouseOver</td>
	<td>//div[@id='column0']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>mouseUp</td>
	<td>//div[@id='column0']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>assertElementPresent</td>
	<td>//div[@id='grid']/div[@id='inner_grid']/div/div/div/div[@style='background-image: url(&quot;images/thumbnail_piano.png&quot;);']</td>
	<td></td>
</tr>
<!--//add a guitar note-->
<tr>
	<td>click</td>
	<td>guitar</td>
	<td></td>
</tr>
<tr>
	<td>mouseDown</td>
	<td>//div[@id='column0']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>mouseOver</td>
	<td>//div[@id='column0']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>mouseUp</td>
	<td>//div[@id='column0']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>assertElementPresent</td>
	<td>//div[@id='column0']/div/div[@style='background-image: url(&quot;images/thumbnail_guitar.png&quot;);']</td>
	<td></td>
</tr>
<!--//add a drum note-->
<tr>
	<td>click</td>
	<td>drum</td>
	<td></td>
</tr>
<tr>
	<td>mouseDown</td>
	<td>//div[@id='column0']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>mouseOver</td>
	<td>//div[@id='column0']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>mouseUp</td>
	<td>//div[@id='column0']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>assertElementPresent</td>
	<td>//div[@id='column0']/div/div[@style='background-image: url(&quot;images/thumbnail_drum.png&quot;);']</td>
	<td></td>
</tr>
<!--// add a trumpet note-->
<tr>
	<td>click</td>
	<td>trumpet</td>
	<td></td>
</tr>
<tr>
	<td>mouseDown</td>
	<td>//div[@id='column0']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>mouseOver</td>
	<td>//div[@id='column0']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>mouseUp</td>
	<td>//div[@id='column0']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>assertElementPresent</td>
	<td>//div[@id='column0']/div/div[@style='background-image: url(&quot;images/thumbnail_trumpet.png&quot;);']</td>
	<td></td>
</tr>
<!--// add a violin note-->
<tr>
	<td>click</td>
	<td>violin</td>
	<td></td>
</tr>
<tr>
	<td>mouseDown</td>
	<td>//div[@id='column0']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>mouseOver</td>
	<td>//div[@id='column0']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>mouseUp</td>
	<td>//div[@id='column0']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>assertElementPresent</td>
	<td>//div[@id='column0']/div/div[@style='background-image: url(&quot;images/thumbnail_violin.png&quot;);']</td>
	<td></td>
</tr>
<!--/////////////////////-->
<!--// REMOVING TEST for multiple notes on one square ///-->
<!--/////////////////////-->
<!--// remove a piano note-->
<tr>
	<td>click</td>
	<td>piano</td>
	<td></td>
</tr>
<tr>
	<td>mouseDown</td>
	<td>//div[@id='column0']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>mouseUp</td>
	<td>//div[@id='column0']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>assertElementNotPresent</td>
	<td>//div[@id='grid']/div[@id='inner_grid']/div/div/div/div[@style='background-image: url(&quot;images/thumbnail_piano.png&quot;);']</td>
	<td></td>
</tr>
<!--// remove a guitar note-->
<tr>
	<td>click</td>
	<td>guitar</td>
	<td></td>
</tr>
<tr>
	<td>mouseDown</td>
	<td>//div[@id='column0']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>mouseUp</td>
	<td>//div[@id='column0']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>assertElementNotPresent</td>
	<td>//div[@id='column0']/div/div[@style='background-image: url(&quot;images/thumbnail_guitar.png&quot;);']</td>
	<td></td>
</tr>
<!--// remove a drum note-->
<tr>
	<td>click</td>
	<td>drum</td>
	<td></td>
</tr>
<tr>
	<td>mouseDown</td>
	<td>//div[@id='column0']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>mouseUp</td>
	<td>//div[@id='column0']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>assertElementNotPresent</td>
	<td>//div[@id='column0']/div/div[@style='background-image: url(&quot;images/thumbnail_drum.png&quot;);']</td>
	<td></td>
</tr>
<!--// remove a trumpet note-->
<tr>
	<td>click</td>
	<td>trumpet</td>
	<td></td>
</tr>
<tr>
	<td>mouseDown</td>
	<td>//div[@id='column0']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>mouseUp</td>
	<td>//div[@id='column0']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>assertElementNotPresent</td>
	<td>//div[@id='column0']/div/div[@style='background-image: url(&quot;images/thumbnail_trumpet.png&quot;);']</td>
	<td></td>
</tr>
<!--// remove a violin note-->
<tr>
	<td>click</td>
	<td>violin</td>
	<td></td>
</tr>
<tr>
	<td>mouseDown</td>
	<td>//div[@id='column0']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>mouseUp</td>
	<td>//div[@id='column0']/div/div[@id='square9']</td>
	<td></td>
</tr>
<tr>
	<td>assertElementNotPresent</td>
	<td>//div[@id='column0']/div/div[@style='background-image: url(&quot;images/thumbnail_violin.png&quot;);']</td>
	<td></td>
</tr>
</tbody></table>
</body>
</html>
